import 'package:json_annotation/json_annotation.dart';

@JsonSerializable()
class LoginResponse {
  @JsonKey(name: "name")
  final String name;
  @JsonKey(name: "age")
  final String age;
  LoginResponse(this.name, this.age);
//   factory LoginResponse.fromJson(Map<String, dynamic> json) =>
//       _$LoginResponseFromJson(json);
//   Map<String, dynamic> toJson() => _$LoginResponseToJson(this);
}
